[Unit]  
Description=ssr
After=network.target  
   
[Service]  
Type=forking  
ExecStart=/usr/bin/python {{ ssr_path }}/shadowsocks/server.py -p {{ ssr_port }} -k {{ ssr_password }} -m {{ ssr_method }} -O {{ ssr_protocol }} -o {{ ssr_obfs }} -d start
ExecReload=/usr/bin/python {{ ssr_path }}/shadowsocks/server.py -d restart  
ExecStop=/usr/bin/python {{ ssr_path }}/shadowsocks/server.py -d stop
PrivateTmp=true  
   
[Install]  
WantedBy=multi-user.target 
